package com.library.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookInfo implements Serializable {
    private Integer id;
    private String name;
    private String author;
    private String publish;
    private String isbn;
    private String introduction;
    private String language;
    private Double price;
    private Date publishDate;
    private Integer typeId;//类型Id
    private Integer status;//0：可借阅；1：不可借阅
    private TypeInfo typeInfo;//类型实体
    private Integer counts;//书籍数量
    private static final long serialVersionUID = 1L;
}